<template>
  <a-card style="position: relative">
    <!-- table区域-begin -->
    <div>
      <a-table
        ref="table"
        size="middle"
        bordered
        rowKey="id"
        :columns="columns"
        :dataSource="dataSource"
        :pagination="ipagination"
        :loading="loading"
        @change="handleTableChange">
          <span slot="wtms" slot-scope="text">
            <j-ellipsis :value="text" :length="15"/>
          </span>
        <span slot="dxyj" slot-scope="text">
            <j-ellipsis :value="text" :length="15"/>
          </span>
        <span slot="zgjy" slot-scope="text">
            <j-ellipsis :value="text" :length="15"/>
          </span>
        <span slot="action" slot-scope="text, record">
            <a @click="handleCheck(record,'审计案例管理-查看')">查看</a>
          </span>
      </a-table>
    </div>
    <!-- table区域-end -->
    <CheckAndEditModel ref="modalForm" @ok="modalFormOk"></CheckAndEditModel>
  </a-card>
</template>
<script>
  // 表头
  import {JeecgListMixin} from '@/mixins/JeecgListMixin'
  import CheckAndEditModel from './CheckAndEditModel'
  import columns from './indexColumns'

  export default {
    name: '审计案例管理',
    mixins: [JeecgListMixin],
    components: {
      CheckAndEditModel
    },
    data() {
      return {
        queryParam: {},
        superParam: {
          advType: '1'
        },
        // 表头
        columns: columns(this),
        url: {
          list: '/sjal/sjWorkZtfaCase/queryAdvanceInfoByWhere'
        },
      }
    },
    methods: {},
  }
</script>
<style scoped>
  @import '~@assets/less/common.less'
</style>
<style lang="less" scoped>

  .ant-row {
    height: 100%;

    .ant-col {
      height: 100%;

      .ant-card {
        height: 100%;

        /deep/ .ant-card-body {
          padding: 15px;
        }
      }
    }
  }

</style>